<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="register" method="post" th:object="${user}">
    用户名：<input type="text" name="username" th:field="*{username}"><br>
    密码：<input type="password" name="password" th:field="*{password}"><br>
    手机号：<input type="text" name="phone" th:field="*{phone}"><br>
    邮箱：<input type="text" name="email" th:field="*{email}"><br>
    <input type="submit" value="注册">
</form>
</body>
</html>